Automattic\WooCommerce\Admin\Features\Navigation\Menu B

Total Complexity 89
Dependencies 4
Dependents 2
Total lines 557
Lines of code 301
Logical lines of code 137
Comment lines 172
Methods 23
Properties 4

Methods 23

Method Rating Maintainability Complexity Lines of code
migrate_menu_items()
B
44 17 42
migrate_core_child_items()
A
53 9 22
add_item_and_taxonomy()
A
48 8 32
get_post_type_items()
S
45 6 43
get_mapped_menu_items()
S
52 7 25
has_callback()
S
56 7 19
get_item_menu_id()
S
59 7 13
get_taxonomy_items()
S
47 5 38
add_core_items()
S
60 5 14
get_category_items()
S
60 4 13
instance()
S
71 2 6
init()
S
95 1 1
add_setting_item()
S
80 1 3
add_plugin_item()
S
80 1 3
add_plugin_category()
S
80 1 3
add_item()
S
80 1 3
add_category()
S
80 1 3
hide_wp_menu_item()
S
79 1 3
get_items()
S
79 1 3
get_parent_key()
S
95 1 1
get_callbacks()
S
79 1 3
get_callback_url()
S
95 1 1
enqueue_data()
S
68 1 7